﻿<?
 require_once('config.php');
?>
<!DOCTYPE html>
<html>
	<head>
	<title>CMS</title>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<?php
		include_once(ROOT_DIR."/include/includeHeader.php");
	?>
	</head>
	<body>
		<div data-role="page" id="login_main">
			<?php
				include_once(ROOT_DIR."/include/top_navigation.php");
			?>
			<div data-role="content">
				<div align="center">
					<form name="cms_login" method="POST" action="include/login_process.php" >
						<div id="error_message" style="color:red;"></div>
						<table style="text-align:center;">
							<tr>
								<td>Login ID </td>
								<td><input type="text" name="login_id" id="login_id" value="" /></td>
							</tr>
							<tr>
								<td>Password </td>
								<td><input type="password" name="pwd" id="pwd" value="" /></td>
							</tr>
							<tr>
								<td colspan="2"><input type="button" name="click_button" value="Login" onclick="javascript: checkLoginForm(document.cms_login);" /></td>
							</tr>
						</table>
					</form>
				</div>
			</div>
			<?php
				include_once(ROOT_DIR."/include/footer.php");
			?>
		</div>
		
	</body>
</html>